<!--
 * @Author: 毕晨曦 
 * @Date: 2023-07-06 16:35:30
 * @LastEditors: 毕晨曦 
 * @LastEditTime: 2024-09-07 15:43:24
 * @FilePath: /wucha_wechat_miniprog/src/App.vue
 * @Description: APP容器页
-->
<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import { userChat } from "@/store/chat";

const chatStore = userChat();

chatStore && chatStore?.init && chatStore.init();

onLaunch(() => {
  // userInfoStore.setUser({
  //   userId: 123,
  //   userName: "123",z
  //   tel: "13780684891",
  //   unit: "1",
  //   ddress: "青岛",
  // });
  // uni.navigateTo({
  //   url:'/Layout/login'
  // })
});
onShow(() => {
  console.log("App Show");
  // userInfoStore.useLoginUser();
});
onHide(() => {
  console.log("App Hide");
});
</script>
<style lang="scss"></style>
